home *** CD-ROM | disk | FTP | other *** search
/ APDL Other Worlds / APDL Other Worlds Collection.iso / SF3000 / Extras / !FednetCmp / h / Utils < prev   
Encoding:
Text File  |  2003-09-12  |  941 b   |  36 lines

  1. /*
  2.  *  FednetCmp - Fednet file compression/decompression
  3.  *  Utility functions
  4.  *  Copyright (C) 2001  Chris Bazley
  5.  */
  6.  
  7. #ifndef FNCUtils_h
  8. #define FNCUtils_h
  9.  
  10. #include <stdbool.h>
  11. #include "kernel.h"
  12.  
  13. #include "Loader.h"
  14.  
  15. /* Generic handler for deleting an object */
  16. extern ToolboxEventHandler delete_object_handler;
  17.  
  18. extern LoaderFileHandler load_compressed, load_plain;
  19.  
  20. /* copy string into newly allocated memory */
  21. extern char *copystring(char *string);
  22.  
  23. extern _kernel_oserror *showgadget(ObjectId window, ComponentId gadget);
  24.  
  25. extern _kernel_oserror *hidegadget(ObjectId window, ComponentId gadget);
  26.  
  27. extern _kernel_oserror *set_gadget_faded(bool fade, ObjectId id, ComponentId gad);
  28.  
  29. extern _kernel_oserror *getscreencentre(int *centreX,int *centreY);
  30.  
  31. extern char *tail(char *pathname, int length);
  32.  
  33. extern _kernel_oserror *open_above_iconbar(unsigned int flags, ObjectId id, ObjectId parent, ComponentId parent_component);
  34.  
  35. #endif
  36.